<!doctype html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  <head>
    <meta charset="utf-8">
    <title>A / F / A / S</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">
    <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,300,400,800,600,700' rel='stylesheet' type='text/css'>
    <!-- build:css styles/vendor.css -->
    <!-- bower:css -->
    <link rel="stylesheet" href="bower_components/angular-busy/dist/angular-busy.css" />
    <link rel="stylesheet" href="bower_components/seiyria-bootstrap-slider/dist/css/bootstrap-slider.css" />
    <link rel="stylesheet" href="bower_components/angular-dialog-service/dist/dialogs.min.css" />
    <!-- endbower -->
    <!-- endbuild -->
    <!-- build:css({.tmp,app}) styles/main.css -->
    <link rel="stylesheet" href="styles/main.css" media="screen">
    <!-- endbuild -->
    <!-- build:css({.tmp,app}) styles/print.css -->
    <link rel="stylesheet" href="styles/print.css" media="print">
    <!-- endbuild -->
    <link rel="stylesheet" href="styles/simple-line-icons.min.css">
    <link rel="stylesheet" href="styles/css/font-awesome.min.css">
  </head>
  <body ng-app="afasApp">
    <!--[if lt IE 7]>
      <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
    <![endif]-->

    <!-- uncomment the bottom line to activate the server error box -->
    <!-- <div id="errorContainer" ng-show="responseError.isError">
      <div class="backdrop">
        <div class="centering">
          <p>
            <i class="simple-icon-fire"></i>
          </p>
          <p>
            <h1>{{ responseError.message }}</h1>
            <p>
              If you found this error message, please immediately contact the technical support.
            </p>
          </p>
        </div>
      </div>
    </div> -->
    <div id="mainContainer" cg-busy="{promise:myPromise,backdrop:true,minDuration:700}" ui-view="" class="view-animate"></div>
    <!-- <div id="mainContainer" ui-view="" class="view-animate"></div> -->

    <!-- Google Analytics: change UA-XXXXX-X to be your site's ID -->
     <script>
       (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
       (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
       m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
       })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

       ga('create', 'UA-XXXXX-X');
       ga('send', 'pageview');
    </script>

    <!--[if lt IE 9]>
    <script src="bower_components/es5-shim/es5-shim.js"></script>
    <script src="bower_components/json3/lib/json3.min.js"></script>
    <![endif]-->

    <!-- build:js scripts/vendor.js -->
    <!-- bower:js -->
    <script src="bower_components/modernizr/modernizr.js"></script>
    <script src="bower_components/jquery/dist/jquery.js"></script>
    <script src="bower_components/angular/angular.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/affix.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/alert.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/button.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/carousel.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/collapse.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/dropdown.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/tab.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/transition.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/scrollspy.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/modal.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/tooltip.js"></script>
    <script src="bower_components/bootstrap-sass-official/vendor/assets/javascripts/bootstrap/popover.js"></script>
    <script src="bower_components/angular-resource/angular-resource.js"></script>
    <script src="bower_components/angular-cookies/angular-cookies.js"></script>
    <script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
    <script src="bower_components/angular-route/angular-route.js"></script>
    <script src="bower_components/angular-local-storage/angular-local-storage.js"></script>
    <script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
    <script src="bower_components/ng-file-upload/angular-file-upload.js"></script>
    <script src="bower_components/ng-file-upload-shim/angular-file-upload-shim.js"></script>
    <script src="bower_components/angular-ui-router/release/angular-ui-router.js"></script>
    <script src="bower_components/underscore/underscore.js"></script>
    <script src="bower_components/angular-animate/angular-animate.js"></script>
    <script src="bower_components/angular-busy/dist/angular-busy.js"></script>
    <script src="bower_components/seiyria-bootstrap-slider/js/bootstrap-slider.js"></script>
    <script src="bower_components/angular-bootstrap-slider/slider.js"></script>
    <script src="bower_components/ng-pageslide/dist/angular-pageslide-directive.js"></script>
    <script src="bower_components/angular-utils-pagination/dirPagination.js"></script>
    <script src="bower_components/angular-dialog-service/dist/dialogs.min.js"></script>
    <script src="bower_components/angular-dialog-service/dist/dialogs-default-translations.min.js"></script>
    <script src="bower_components/moment/moment.js"></script>
    <script src="bower_components/webcam-directive/dist/webcam.min.js"></script>
    <script src="bower_components/webcam/jquery.webcam.js"></script>
    <!-- endbower -->
    <!-- endbuild -->
    <script type="text/javascript" src="qz-print/js/deployJava.js"></script>
    <!-- <script type="text/javascript" src="qz-print/js/html2canvas.js"></script> -->
    <!-- <script type="text/javascript" src="qz-print/js/jquery.plugin.html2canvas.js"></script> -->

        <!-- build:js({.tmp,app}) scripts/scripts.js -->
        <script src="scripts/app.js"></script>
        <script src="scripts/controllers/main.js"></script>

        <!-- ==================================== -->
        <!-- ==========  CONTROLER  ============= -->
        <!-- ==================================== -->

        <!-- STUDENTS MASTER -->
        <script src="scripts/controllers/masters/students.js"></script>

        <!-- AGE GROUPS -->
        <script src="scripts/controllers/masters/age.groups.js"></script>

        <!-- USERS MASTER -->
        <script src="scripts/controllers/masters/users.js"></script>

        <!-- ROOMS MASTER -->
        <script src="scripts/controllers/masters/rooms.js"></script>

        <!-- COURSE TYPES MASTER -->
        <script src="scripts/controllers/masters/course.types.js"></script>

        <!-- TEACHERS MASTER -->
        <script src="scripts/controllers/masters/teachers.js"></script>

        <!-- TERMS MASTER -->
        <script src="scripts/controllers/masters/terms.js"></script>

        <!-- SEXES MASTER -->
        <script src="scripts/controllers/masters/sexes.js"></script>

        <!-- COUNTRIES MASTER -->
        <script src="scripts/controllers/masters/countries.js"></script>

        <!-- PROVINCES MASTER -->
        <script src="scripts/controllers/masters/provinces.js"></script>

        <!-- CITIES MASTER -->
        <script src="scripts/controllers/masters/cities.js"></script>

        <!-- AMOUNT TYPES MASTER -->
        <script src="scripts/controllers/masters/amount.types.js"></script>

        <!-- CONTACT TYPES MASTER -->
        <script src="scripts/controllers/masters/contact.types.js"></script>

        <!-- CONTACTS MASTER -->
        <script src="scripts/controllers/masters/contacts.js"></script>

        <!-- CURRENCIES MASTER -->
        <script src="scripts/controllers/masters/currencies.js"></script>

        <!-- TIME CLASSES MASTER -->
        <script src="scripts/controllers/masters/time.classes.js"></script>

        <!-- DAY CLASSES MASTER -->
        <script src="scripts/controllers/masters/day.classes.js"></script>

        <!-- DISCOUNTS MASTER -->
        <script src="scripts/controllers/masters/discounts.js"></script>

        <!-- DISCOUNTS MASTER -->
        <script src="scripts/controllers/masters/staffs.js"></script>

        <!-- COURSES TRANSACTIONAL -->
        <script src="scripts/controllers/modules/courses.js"></script>

        <!-- COURSE SCHEDULES TRANSACTIONAL -->
        <script src="scripts/controllers/modules/course.schedules.js"></script>

        <!-- PLACEMENT TEST TRANSACTIONAL -->
        <script src="scripts/controllers/modules/placement.test.js"></script>

        <!-- MAKE UP TEST TRANSACTIONAL -->
        <script src="scripts/controllers/modules/makeup.test.js"></script>

        <!-- STUDENT REGISTRATION TRANSACTIONAL -->
        <script src="scripts/controllers/modules/student.registration.js"></script>

        <!-- PAYMENT TRANSACTIONAL -->
        <script src="scripts/controllers/modules/payment.js"></script>

        <!-- INVOICE TRANSACTIONAL -->
        <script src="scripts/controllers/modules/invoices.js"></script>

        <!-- REFUND TYPES -->
        <script src="scripts/controllers/modules/refundtypes.js"></script>

        <!-- REFUNDS -->
        <script src="scripts/controllers/modules/refund.js"></script>

        <!-- DISCOUNT TYPES -->
        <script src="scripts/controllers/masters/discount_types.js"></script>

        <!-- ROLE PROFILES -->
        <script src="scripts/controllers/masters/role_profiles.js"></script>

        <!-- STUDENT DISCOUNTS -->
        <script src="scripts/controllers/masters/student_discounts.js"></script>


        <!-- BANK MASTER -->
        <script src="scripts/controllers/masters/payment/bank.js"></script>

        <!-- BANK MASTER -->
        <script src="scripts/controllers/masters/payment/clients.js"></script>

        <!-- CREDIT CARD MASTER -->
        <script src="scripts/controllers/masters/payment/creditcardtype.js"></script>

        <!-- BANK TRANSFER MANAGEMENT -->
        <script src="scripts/controllers/masters/payment/banktransferrecord.js"></script>

        <!-- CREDIT CARD TRANSACTION MANAGEMENT -->
        <script src="scripts/controllers/masters/payment/creditcardtransactionrecord.js"></script>

        <!-- PRODUCT CATEGORY MASTER -->
        <script src="scripts/controllers/masters/inventory/productcategory.js"></script>

        <!-- UNIT MASTER -->
        <script src="scripts/controllers/masters/inventory/units.js"></script>

        <!-- PRODUCT MASTER -->
        <script src="scripts/controllers/masters/inventory/product.js"></script>

        <!-- PRODUCT PRICE MASTER -->
        <script src="scripts/controllers/masters/inventory/productprice.js"></script>

        <!-- SUPPLIER MASTER -->
        <script src="scripts/controllers/masters/inventory/supplier.js"></script>

        <!-- INVENTORY MASTER (WAREHOUSE) -->
        <script src="scripts/controllers/masters/inventory/inventory.js"></script>

        <!-- STOCKS -->
        <script src="scripts/controllers/masters/inventory/stocks.js"></script>

        <!-- REPORTS -->
        <script src="scripts/controllers/masters/reports.js"></script>
        <!-- ==================================== -->
        <!-- ==========  CONTROLER  ============= -->
        <!-- ==================================== -->

        <!-- DIRECTIVES -->
        <script src="scripts/directives/currency.js"></script>
        <script src="scripts/directives/subnav.js"></script>
        <script src="scripts/directives/subcontent.js"></script>
        <script src="scripts/directives/uiBreadcrumbs.js"></script>
        <script src="scripts/directives/compilePopover.js"></script>
        <script src="scripts/directives/ngReally.js"></script>
        <script src="scripts/directives/localDate.js"></script>
        <script src="scripts/directives/errorWidget.js"></script>
        <script src="scripts/directives/extendSref.js"></script>
        <script src="scripts/directives/eventFocus.js"></script>

        <!-- SERVICES -->
        <script src="scripts/services/principal.js"></script>
        <script src="scripts/services/authorization.js"></script>
        <script src="scripts/services/services.js"></script>
        <script src="scripts/services/services.ls.js"></script>

        <!-- FILTERS -->
        <script src="scripts/filters/filterChecked.js"></script>
        <script src="scripts/filters/filterGroup.js"></script>
        <script src="scripts/filters/filterBold.js"></script>
        <script src="scripts/filters/filterTime.js"></script>
        <script src="scripts/filters/filterUnsafe.js"></script>
        <script src="scripts/filters/filterLocalTime.js"></script>
        <script src="scripts/filters/filterInWords.js"></script>

        <!-- MISC -->
        <script src="scripts/controllers/signin.js"></script>
        <script src="scripts/services/submenu.js"></script>
        <script src="scripts/controllers/template.js"></script>
        <script src="scripts/controllers/receptionist.js"></script>
        <script src="scripts/controllers/cashier.js"></script>
        <script src="scripts/controllers/finance.js"></script>
        <script src="scripts/controllers/admin.js"></script>
        <script src="scripts/controllers/mysettings.js"></script>
        <script src="scripts/controllers/myprofil.js"></script>
        <!-- endbuild -->

        <!-- resize main navigation height -->
        <script>//<![CDATA[
          // function resize()
          // {
          //     var window_h = window.innerHeight;
          //     var logo_h = document.getElementById("#logo").height;
          //     var account_h = document.getElementById("#account_navigation").height;
          //     document.getElementById("#main_navigation").style.height = (window_h - logo_h - account_h) + "px";
          // }
          // resize();
          // window.onresize = function() {
          //     resize();
          // };
          //]]>
        </script>
        <!-- end -->
</body>
</html>
